package com.forekonow.model;

/**
 * JavaBean:普通的java类，只包含get/set
 * 规范：
 * 1.表名------类名
 * 2.列名------属性名
 *
 * 注意：数据库中有多少张表就要对应多少个Bean
 */

public class Emp {
    private int empno;
    private String ename;
    private String job;

    public Emp(){

    }
    public Emp(int empno,String ename,String job) {
        this.empno = empno;
        this.ename = ename;
        this.job = job;
    }

    public int getEmpno() {
        return empno;
    }

    public void setEmpno(int empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
